import 'package:fish_redux/fish_redux.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:school_safe_teacher/attendanceRecord/entity/attendanceRecordEntity.dart';

class attendanceRecordState implements Cloneable<attendanceRecordState> {
  int page = 1;
  EasyRefreshController easyRefreshController;
  List<attendanceRecordEntity> list;

  @override
  attendanceRecordState clone() {
    return attendanceRecordState()
    ..easyRefreshController = easyRefreshController
    ..page = page
    ..list = list;
  }
}

attendanceRecordState initState(Map<String, dynamic> args) {
  return attendanceRecordState()
    ..page=1
    ..easyRefreshController=EasyRefreshController()
    ..list = [];
}
